/*
 * =====================================================================================
 *
 *       Filename:  1001.cpp
 *
 *    Description:      
 *
 *        Version:  1.0
 *        Created:  2012/2/28 9:02:15
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *   Organization:  
 *
 * =====================================================================================
 */
#include <stdlib.h>
#include <iostream>
#include <algorithm>

using namespace std;

int main ( int argc, char *argv[] )
{
    double s;
    int n;
    double result;
    while(cin>>s>>n){
        result = 1;
        for(int i=0;i<n;i++)
            result *= s;
        cout<<result<<endl;
    }
    return EXIT_SUCCESS;
}				/* ----------  end of function main  ---------- */
